.schematic.format file

You can create a config file which will include default configurations for your projects so you don't have to specify it every time you run a command

The file should be (yaml or json):

      .schematic.yaml

The extension will determine what format all your files will be in.

Parameters:
  • driver

The database driver, e.g. mysql, mssql, etc...

  • directory

Path of your schema files, must be global e.g. /Users/andrefigueira/Projects/Schematic/schemas/

  • environments

For each environment under environments create an array with the host, user and pass e.g.

      driver: mysql
      directory: /Users/andrefigueira/Schematic/schemas/
      environments:
           localhost:
                host: 127.0.0.1
                user: root
                pass: 123